package com.guobox.movies.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * Created by xxl on 2016/11/1.
 */

public class MovieEntity implements Serializable {
    private String name;
    private String parent;
    private String type;
    private String id;
    private boolean isprivate;
    private String dimension;
    private String update;
    private String uhd;
    private int[] history;

    private MovieMedia metadata;
    private List<FileItem> files;

    public String getDimension() {
        return dimension;
    }

    public void setDimension(String dimension) {
        this.dimension = dimension;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public MovieMedia getMetadata() {
        return metadata;
    }

    public void setMetadata(MovieMedia metadata) {
        this.metadata = metadata;
    }

    public List<FileItem> getFiles() {
        return files;
    }

    public void setFiles(List<FileItem> files) {
        this.files = files;
    }

    public boolean isprivate() {
        return isprivate;
    }

    public void setIsprivate(boolean isprivate) {
        this.isprivate = isprivate;
    }

    public int[] getHistory() {
        return history;
    }

    public void setHistory(int[] history) {
        this.history = history;
    }

    public boolean isIsprivate() {
        return isprivate;
    }

    public String getUhd() {
        return uhd;
    }

    public void setUhd(String uhd) {
        this.uhd = uhd;
    }

    @Override
    public String toString() {
        return "MovieEntity{" +
                "name='" + name + '\'' +
                ", parent='" + parent + '\'' +
                ", type='" + type + '\'' +
                ", id='" + id + '\'' +
                ", isprivate=" + isprivate +
                ", dimension='" + dimension + '\'' +
                ", update='" + update + '\'' +
                ", uhd='" + uhd + '\'' +
                ", history=" + Arrays.toString(history) +
                ", metadata=" + metadata +
                ", files=" + files +
                '}';
    }
}
